package com.yswwpp.cross.http;
/**
 * 
 * @ClassName: HttpMethod 
 * @Description: HTTP请求的几种请求方法枚举
 * @author: ysw
 * @date: 2017年6月28日 下午11:09:07
 */
public enum HttpMethod
{
	GET("get"), POST("post"), HEAD("head"), PUT("put"), DELETE(
			"delete"), OPTIONS("options"), TRACE("trace"), CONNECT("connect");

	private String value;

	private HttpMethod(String value)
	{
		this.value = value;
	}

	public String getValue()
	{
		return value;
	}
	
	public static void main(String[] agre)
	{
		System.out.println(HttpMethod.valueOf("GET"));
	}
	
}
